#include "Request.h"

const int Request::PURPOSE_INTERACTIVE = 0;
const int Request::PURPOSE_BATCH = 1;

Request::Request(int pId)
{
    ID = pId;
}

Request::~Request()
{
    //dtor
}

void Request::ReadRawData(RawData& pRaw) {
    ID = pRaw.ReadLong();
    Purpose = pRaw.ReadLong();
}

void Request::WriteRawData(RawData& pRaw) {
    pRaw.WriteLong(ID);
    pRaw.WriteLong(Purpose);
}
